package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeSlotCountVo;

import java.util.List;

public interface CustomerReservationService {
    int getCancelledCount();

    List<TimeSlotCountVo> getCountByTime(Long timestamp);

    void addReservation(ReservationDto reservationDto);

    PageResponse<ReservationVo> getByPage(Integer status, Integer pageNum, Integer pageSize);

    void cancelReservation(Long id);
}
